package com.financing.platform.service;

import java.sql.SQLException;
import java.util.List;

import com.financing.platform.dto.MessageJpushDTO;

/**
 * 极光推送消息管理
 * @author qiye
 *
 */
public interface IJPushMessageService  extends IBaseService{

	/**
	 * 查询极光推送消息列表
	 * @param dto
	 * @return
	 * @throws SQLException
	 */
	public List<MessageJpushDTO> queryJpushMessageList(MessageJpushDTO  dto) throws SQLException;
	 
	/**
	 * 更新极光推送消息
	 * @param dto
	 * @return
	 * @throws SQLException
	 */
	public int updateJpushMessage(MessageJpushDTO dto) throws SQLException;
	
	/**
	 * 添加极光推送消息
	 * @param dto
	 * @return
	 * @throws SQLException
	 */
	public int addJpushMessage(MessageJpushDTO dto) throws SQLException;
	
	/**
	 *  查询极光推送消息总条数
	 * @param dto
	 * @return
	 * @throws SQLException
	 */
	public int  queryMessageJpushCount(MessageJpushDTO dto) throws SQLException;
}
